package com.platform.sys.modular.syncdata.executor.abs;

import com.platform.sys.modular.syncdata.param.SyncDataParam;
import com.platform.sys.modular.syncdata.result.TargetResult;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 定义抽象方法
 */
public abstract class SyncDataStrategy {

    public abstract String getName();

    public abstract Integer syncData(Connection conn, TargetResult result, SyncDataParam syncDataParam) throws SQLException;

}
